<?php
declare (strict_types = 1);


function Ages(array &$ages)
{
    $ages[0]=77;
}
$ages=[21,16,25,99];
Ages($ages);
var_dump( $ages);
